package com.siyoumi.app.modules.user.vo;

import lombok.Data;
import lombok.experimental.Accessors;

//入帐出帐
@Data
@Accessors(chain = true)
public class VoCorpPaySave {
    String corppay_app_id;
    String corppayq_uid;
    String corppayq_openid;
    String corppay_true_name;
    String corppayq_order_id;
    String corppayq_type = "money";
    String corppayq_id_src;
    Long corppayq_fee;
    String corppayq_desc;

    String corppayq_bank_no;
    String corppayq_bank_code;

    static public VoCorpPaySave of(String orderId, String uid, String openid, Long fee, String trueName, String appId, String idSrc) {
        return new VoCorpPaySave()
                .setCorppayq_order_id(orderId)
                .setCorppayq_uid(uid)
                .setCorppayq_openid(openid)
                .setCorppayq_fee(fee)
                .setCorppay_true_name(trueName)
                .setCorppay_app_id(appId)
                .setCorppayq_id_src(idSrc)
                ;
    }
}
